package com.coldchain.common.auth;

import com.alibaba.fastjson.annotation.JSONField;
import com.fangliai.core.entitiy.SystemModelEnum;

import java.io.Serializable;

/**
 * @ClassName AuthUser
 * @Description TODO
 * @Author fangliai
 * @Date 2018/8/31 13:23
 * @Vesion 1
**/
public class AuthUser implements Serializable {
    private String userId;
    private String userName;
    private String nickName;
    private String commpanyId;
    private SystemModelEnum sysModel;
    private String cysId;
    private String roles;
    @JSONField(serialize = false)
    private String loginPwd;

    public String getUserId() {

        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public SystemModelEnum getSysModel() {
        return sysModel;
    }

    public void setSysModel(SystemModelEnum sysModel) {
        this.sysModel = sysModel;
    }

    public String getCysId() {
        return cysId;
    }

    public void setCysId(String cysId) {
        this.cysId = cysId;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    public String getCommpanyId() {
        return commpanyId;
    }

    public void setCommpanyId(String commpanyId) {
        this.commpanyId = commpanyId;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }
}
